<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>editor</title>
</head>
<body>
	<form action="<%=request.getContextPath() %>/article/add" method="post">
		<div>
			题目：<input type="text" name="title">
		</div>
		<br>
		<div style="width: 98%; heigh: 600px;">
			<script id="container" name="content" type="text/plain">

    	</script>
		</div>
		<br>
		<div>
			<button type="submit" class="btn">提交</button>
		</div>
	</form>
	<script type="text/javascript" charset="utf-8"
		src="<%=request.getContextPath()%>/resources/ueditor/ueditor.config.js"></script>
	<script type="text/javascript" charset="utf-8"
		src="<%=request.getContextPath()%>/resources/ueditor/ueditor.all.js"></script>
	<!-- 实例化编辑器 -->
	<script type="text/javascript">
		var ue = UE.getEditor('container');
	</script>
</body>
</html>